package com.jhgk.jhcee.data.auth.mapper;

import com.jhgk.jhcee.data.auth.entity.SysPermissionInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @Description：系统权限表Mapper接口
*/
public interface SysPermissionInfoMapper extends BaseMapper<SysPermissionInfo> {

    List<SysPermissionInfo> selectPermissionList(@Param("roleIds") List<Long> roleIds);

    Integer updateStatus(@Param("permissionId")Long permissionId, @Param("status")Integer status);
}

